<?php

namespace Admin\Controller;

class CategoryController extends AdminController {

    public function index()
    {
        $data = array(
            'pig',
            'dog',
            'bird'
        );
        $msg = 'success';
        $this->assign([
            'data'=>$data,
            'msg'=>$msg
        ]);
        $this->display();

    }

}
